:root {
  --width: 1080px;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

ul {
  margin: 0;
  list-style: none;
  padding: 0;
  /* margin: 0; */
}

a {
  text-decoration: none;
}


/* 首页 */
.layout {
  width: 100%;
  height: 100%;
  margin: auto;
  overflow: hidden;
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  height: 72px;
  background-color: #fff;
}

.header-list {
  height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.header-input {
  width: 62%;
  margin: auto;
  margin: 0 10px;
}

.header-input input {
  width: 100%;
  height: 40px;
  background-color: #F7F7F7;
  border: 0;
  border-radius: 99px;
  padding: 0 10px;
}

/* 主体部分 */

.main {
  margin-top: 72px;
}

.main-list {
  width: 100%;
  display: flex;
  white-space: nowrap;
  overflow-x: scroll;
}

.main-list div {
  padding: 6px 20px;
  font-size: 16px;
}

.main-list ::-webkit-scrollbar {
  display: none;
}

.main-list .selected {
  color: #FF2442;
  background-color: #F7F7F7;
  border-radius: 99px;
  font-weight: bold;
}

/* 底部导航栏 */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #fff;
}

.footer-list {
  display: flex;
  max-width: var(--width);
  height: 60px;
  margin: auto;
}

.footer-list div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25%;
  font-weight: bold;
}

.active {
  color: #FF2442;
}